$msgBoxColor: #e3ffc5;

// 消息盒子
.text-message-container,
.call-start-message-container,
.file-message-container {
  &::after {
    content: '';
    position: absolute;
    left: -10px;
    bottom: 0;
    width: 30px;
    height: 12px;
    background: url('@/kang/img/message_in_l.png') no-repeat left top / 100%
      100%;
  }

  &::before {
    display: none;
  }

  & > p,
  & > div {
    position: relative;
    z-index: 1;
  }

  &.out {
    background-color: $msgBoxColor !important;

    &::after {
      left: unset;
      right: -10px;
      background: url('@/kang/img/message_out_l.png') no-repeat left top / 100%
        100%;
    }
  }

  a {
    color: var(--color-blue) !important;
  }
}

// 会话列表、群聊列表
$top: rgba(234, 234, 234, 1);
$active: rgba(222, 222, 222, 1);
$hover: var(--color-bg);
$hoverTop: $active;
$hoverActive: rgba(211, 211, 211, 1);

.conversation-item-container,
.group-item,
.friend-item,
.hover-item {
  &.top {
    background-color: $top !important;

    &:active {
      background-color: $active !important;
    }

    &:hover {
      background-color: $hoverTop !important;
    }
  }

  &.active {
    background-color: $active !important;

    &:hover {
      background-color: $hoverActive !important;
    }
  }

  &:hover {
    background-color: $hover !important;
  }
}
